package com.tmeone.erpone.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.tmeone.erpone.entity.TPrinter;

import java.util.List;

public interface TPrinterMapper extends BaseMapper<TPrinter> {
    //打印机分页查询
    IPage<TPrinter> pageTPrinters(IPage<TPrinter> page);

    //根据打印机编号模糊查询并分页
    IPage<TPrinter> findPrinterBypNum(Page tPrinterPage, String search);
}
